const http = require('../utils/http.js');

// 早惠商品列表
const getActivityList = (data) => {
    return http.request('GET', '/activity/activity_list',data)
}

// 早惠商品详情
const details = (data) => {
    return http.request('GET', '/activity/details',data)
}

// 早惠商品下单
const orderActivity = (data) => {
    return http.request('POST', '/activity/order_activity',data)
}

module.exports = {
    getActivityList,
    details,
    orderActivity
}